package com.microservice.salmon.weixin.domain.ticket;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 微信JS-SDK 用Access token 换区的Ticket，用于配置js sdk
 * {
 * "errcode":0,
 * "errmsg":"ok",
 * "ticket":"bxLdikRXVbTPdHSM05e5u5sUoXNKd8-41ZO3MhKoyN5OfkWITDGgnr2fwJ0m9E8NYzWKVZvdVtaUgWvsdshFKA",
 * "expires_in":7200
 * }
 * </p>
 *
 * @author 王洪庆 2018-12-13 22:49
 */
@Getter
@Setter
public class WeiXinTicket extends Ticket {

    private static final long serialVersionUID = -4437225509245089386L;

    private String ticket;
    @JsonProperty("errcode")
    private int errCode;
    @JsonProperty("errmsg")
    private String errMsg;
}
